﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php
using System;

namespace DNA.Mvc
{
    /// <summary>
    /// Defines properties of Mesasge object.
    /// </summary>
    public interface IMessage
    {
        /// <summary>
        /// Gets/Sets the message content
        /// </summary>
        string Content { get; set; }

        /// <summary>
        /// Gets/Sets the content type.
        /// </summary>
        string ContentType { get; set; }

        /// <summary>
        /// Get/Sets the content encoding.
        /// </summary>
        string Encoding { get; set; }

        /// <summary>
        /// Gets/Sets the message title.
        /// </summary>
        string Title { get; set; }

        /// <summary>
        /// Gets/Sets the message type.
        /// </summary>
        string TypeName { get; set; }
    }
}
